<template>
  <div class="container">
    <Category title="美食">
      <template slot-scope="{food}">
        <!-- {{bigzq}} -->
        <!-- {{bigzq.food}} -->
        <ul>
          <li v-for="(item, index) in food" :key="index">{{ item }}</li>
        </ul>
      </template>
    </Category>

    <Category title="电影2">
      <template slot-scope="{go}">
        <ol>
          <li v-for="(item, index) in go" :key="index">{{ item }}</li>
        </ol>
      </template>
    </Category>
  </div>
</template>

<script>
import Category from "./components/Category";
export default {
  name: "App",
  components: {
    Category,
  },
};
</script>
 <style scoped>
.container,
.film {
  display: flex;
  justify-content: space-around;
}
img {
  width: 180px;
}
</style>
